package net.zwet.clanworks.clanhome;

import org.apache.wicket.markup.html.form.PasswordTextField;
import org.apache.wicket.markup.html.form.StatelessForm;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.CompoundPropertyModel;
import org.apache.wicket.request.mapper.parameter.PageParameters;

/**
 * Created with IntelliJ IDEA.
 * User: hansz
 * Date: 6/14/13
 * Time: 2:55 PM
 * To change this template use File | Settings | File Templates.
 */
public class SigninPage extends BasePage {
    public SigninPage(final PageParameters parameters) {
        super(parameters);
    }

    private static class SignInForm extends StatelessForm {
        private String wiaPassword;
        private String wiaUsername;
        public SignInForm(String id) {
            super(id);
            setModel(new CompoundPropertyModel<SignInForm>(this));
            add(new TextField("wiaUsername"));
            add(new PasswordTextField("wiaPassword"));
        }
    }
}
